package com.example.logdemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.logdemo.entity.UserExecuteLog;
import com.example.logdemo.mapper.UserExecuteLogMapper;
import com.example.logdemo.service.DemoService;
import com.mzt.logapi.starter.annotation.LogRecordAnnotation;
import org.springframework.stereotype.Service;

/**
 * @version 1.0
 * @author: ZackYoung
 * @date: 2021/4/1 10:55
 */
@Service
public class DemoServiceImpl extends ServiceImpl<UserExecuteLogMapper, UserExecuteLog> implements DemoService {

    @LogRecordAnnotation(
            success = "{{#content}}下了一个订单",
            prefix = "123lllll", bizNo = "")
    @Override
    public String login(String content) {
        return content;
    }
}
